package com.itheima.health.jobs;


import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.health.service.OrderSettingService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ClearOrderSetting {

    @Reference
    private OrderSettingService orderSettingService;

    public void clearOrdersetting(){
        log.info("----------开始清理--------ordersetting");
        orderSettingService.clearoderSetting();
        log.info("----------开始完成--------ordersetting");
    }
}
